const nav = {
  list: [
    {name: '数据库管理', com: 'com-db-hub'},
    {name: '服务器管理', com: 'com-server'},
    {name: '文件管理', com: 'com-fs'},
    {name: '算法与数据结构', com: 'com-algo'},
    {name: '家庭影院', com: 'com-cinema'},
    {name: '脑图', com: 'com-brain-graph'},
    {name: '图论', com: 'com-graph'},
    {name: '聊天室', com: 'com-chat'},
    {name: '论坛', com: 'com-forumn'},
  ],
  map: {}
}

nav.list.forEach((v) => nav.map[v.com] = v)

export default nav